package com.campus_information_portal.dao;


import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 用户
 *
 * @author Y-Rainson
 * @create 2018-03-16 15:15
 **/

public interface UserDao {
    @Select("select * from user where user_username=#{userName} and user_password=#{userPassword}")
    boolean login(@Param("userName") String userName, @Param("userPassword") String userPassword);

}
